package aop2;

/**
 * @author chaird
 * @create 2022-09-04 1:58
 */
public class AspService {

    public int addMethod(int a, int b) {
        //System.out.println("MathCalculator.....addMethod....");
        //return a + b;
        return addMethodP(a, b);
    }

    @AspAnn(value = "123")
    public int addMethodP(int a, int b) {
        System.out.println("MathCalculator.....addMethod....");
        return a + b;
    }
}
